package com.ruoyi.api.abuwx.api;

import com.ruoyi.abuwx.service.UnitService;
import com.ruoyi.common.annotation.SaClientCheckLogin;
import com.ruoyi.common.core.domain.AjaxResult;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@SaClientCheckLogin
@RestController
@RequestMapping("/api/abuwx")
@Api(tags = "客户端-单位统计模块API")
public class UnitApi {

    @Autowired
    private UnitService unitService;

//    @ApiOperation("单位统计")
    @GetMapping("/unit")
    public AjaxResult rechargePay() {
        return unitService.rechargeUnit();
    }

}
